drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
authorEric Anholt <eric@anholt.net>
Mon, 12 Oct 2015 15:58:08 +0000 (08:58 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:28:55 +0000 (17:28 +0000)
commit0c655823adf2b071a5c0cedf5c5a80469e91ab60
tree3f5af10e7b97954697870e35f5e90ed3445efc80
parentc3d9aba3d3d7482dec144b2594f73d266b890c59
drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.

I've seen lots of users cranking CMA up higher, so throw an error if
they do.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/base/dma-contiguous.c
drivers/gpu/drm/vc4/vc4_v3d.c
mm/cma.c